.calendar_flex {
    position: relative;
    top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    overflow: visible;
}

.time_flex {
    position: relative;
    top: 10px;
    left: 0;
    display: flex;
    gap: 20px;
    width: max-content;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 3vw;
    margin-bottom: 5vw;
    justify-content: center;
    align-items: center;
}

.time {
    position: relative;
    width: 80px;
    height: 40px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #d6ad6f;
    color: #d6ad6f;
    font-family: 'Open Sans';
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 10px #00000029;
    cursor: pointer;
}

.time_selected {
    background: #d6ad6f;
    border: none;
    color: #000;
}

.time_disabled {
    background: #e9e9e9;
    color: #585757;
    border: none;
    box-shadow: none;
}

.calendar {
    position: absolute;
    top: 85px;
    display: none;
    width: 300px;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px #00000064;
    z-index: 10;
}

.calendar header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar ul {
    text-align: center;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 0.9rem;
}

.calendar ul li {
    position: relative;
    display: flex;
    width: 20px;
    justify-content: center;
    align-items: center;
    color: #000;

}


.calendar .days, .calendar .dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* 7 colunas fixas */
  padding: 5px;
  margin: 0;
  list-style: none;
  grid-auto-rows: 35px;
  justify-content: space-evenly;
}


.dates li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


.dates li button.today {
    position: relative;
    left: 0rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 600;
    z-index: 2;
}

.dates li button.today::before {
    content: "";
    width: 2.5rem;
    height: 2.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #d6ad6f;
    border-radius: 50%;
    z-index: -1;
}

.dates li button.inactive {
    color: #5a5a5a;
}


.button_calendar {
    background: transparent;
    border: none;
    font-family: 'Open Sans';
    font-size: 1rem;
    padding: 10px;
    cursor: pointer;
    left: 10px;
    color: #000;
    
}

.button_calendar:hover {
    font-weight: 600;
}


.button_date {
    position: relative;
    width: 300px;
    height: 40px;
    padding: 10px;
    font-size: 0.9rem;
    box-sizing: border-box;
    background-color: #d6ad6f;
    border: 1px solid #ccc;
    color: #000;

    border-radius: 4px;
    font-weight: 600;
    line-height: 0.6rem;
    background-image: url("../assets/imagens/home/gold_button3.png");
    background-size: cover;
    background-position:initial;
    background-repeat: no-repeat;
    cursor: pointer;
}

.button {
    position: relative;
    top: 10px;
    /* background: #00000013; */
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.button img {
    position: relative;
    width: 30px;
}

#img_button_prev, #img_button_calendar_prev {
    left: 5px;
}

@media (max-width: 769px) {
    .button_date {
        width: calc(90vw - 120px);
    }

    .time_flex {
        width: 90vw;
        flex-wrap: wrap;
        margin-top: 80px;
    }
}

